package com.dkm.ec.pay.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:t_site_pay_charge Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2016-12-24 16:37:03
 */
 @ITable(name="payCharge",code="t_site_pay_charge")
public class PayChargeTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*id_*/
	@IField(name="soEntityId",column="so_entity_id_")
	protected String  soEntityId; 		/*so_entity_id_*/
	@IField(name="channel",column="channel_")
	protected String  channel; 		/*alipay 支付宝手机支付,wx:微信*/
	@IField(name="amount",column="amount_")
	protected Integer  amount; 		/*amount_*/
	@IField(name="currency",column="currency_")
	protected String  currency; 		/*目前仅支持人民币 cny。*/
	@IField(name="body",column="body_")
	protected String  body; 		/*商品的描述信息*/
	@IField(name="chargeId",column="charge_id_")
	protected String  chargeId; 		/*支付id*/
	@IField(name="status",column="status_")
	protected String  status; 		/*处理状态。create:创建,success=支付成功；refund=转入退款；notpay=未支付；closed=已关闭；revoked=已撤销；userpaying=用户支付中；payerror=支付失败（其它原因，如银行返回失败）*/
	@IField(name="subject",column="subject_")
	protected String  subject; 		/*subject_*/
	@IField(name="soNo",column="so_no_")
	protected String  soNo; 		/*so_no_*/
	@IField(name="clientIp",column="client_ip")
	protected String  clientIp; 		/*client_ip*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*create_time_*/
	@IField(name="type",column="type_")
	protected String  type; 		/*client_ip*/
	@IField(name="transactionNo",column="transaction_no_")
	protected String  transactionNo; 		/*client_ip*/
	
	
	public String getTransactionNo() {
		return transactionNo;
	}
	public void setTransactionNo(String transactionNo) {
		this.transactionNo = transactionNo;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 id_
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSoEntityId(String soEntityId) 
	{
		this.soEntityId = soEntityId;
	}
	/**
	 * 返回 so_entity_id_
	 * @return
	 */
	public String getSoEntityId() 
	{
		return this.soEntityId;
	}
	public void setChannel(String channel) 
	{
		this.channel = channel;
	}
	/**
	 * 返回 alipay 支付宝手机支付,wx:微信
	 * @return
	 */
	public String getChannel() 
	{
		return this.channel;
	}
	public void setAmount(Integer amount) 
	{
		this.amount = amount;
	}
	/**
	 * 返回 amount_
	 * @return
	 */
	public Integer getAmount() 
	{
		return this.amount;
	}
	public void setCurrency(String currency) 
	{
		this.currency = currency;
	}
	/**
	 * 返回 目前仅支持人民币 cny。
	 * @return
	 */
	public String getCurrency() 
	{
		return this.currency;
	}
	public void setBody(String body) 
	{
		this.body = body;
	}
	/**
	 * 返回 商品的描述信息
	 * @return
	 */
	public String getBody() 
	{
		return this.body;
	}
	public void setChargeId(String chargeId) 
	{
		this.chargeId = chargeId;
	}
	/**
	 * 返回 支付id
	 * @return
	 */
	public String getChargeId() 
	{
		return this.chargeId;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 处理状态。create:创建,success=支付成功；refund=转入退款；notpay=未支付；closed=已关闭；revoked=已撤销；userpaying=用户支付中；payerror=支付失败（其它原因，如银行返回失败）
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setSubject(String subject) 
	{
		this.subject = subject;
	}
	/**
	 * 返回 subject_
	 * @return
	 */
	public String getSubject() 
	{
		return this.subject;
	}
	public void setSoNo(String soNo) 
	{
		this.soNo = soNo;
	}
	/**
	 * 返回 so_no_
	 * @return
	 */
	public String getSoNo() 
	{
		return this.soNo;
	}
	public void setClientIp(String clientIp) 
	{
		this.clientIp = clientIp;
	}
	/**
	 * 返回 client_ip
	 * @return
	 */
	public String getClientIp() 
	{
		return this.clientIp;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 create_time_
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("soEntityId", this.soEntityId) 
		.append("channel", this.channel) 
		.append("amount", this.amount) 
		.append("currency", this.currency) 
		.append("body", this.body) 
		.append("chargeId", this.chargeId) 
		.append("status", this.status) 
		.append("subject", this.subject) 
		.append("soNo", this.soNo) 
		.append("clientIp", this.clientIp) 
		.append("createTime", this.createTime) 
		.toString();
	}
}